package com.itheima.service;

import com.itheima.pojo.Permission;

import java.util.List;

public interface PermissionService {
    //查询所有权限
    List<Permission> findAll();
    //根据角色id查询对应的权限id
    List<Integer> findPermissionIdsByRoleId(Integer roleId);
}
